package com.wxapp.market.api.pojo.vo.adFile;

import com.wxapp.common.constant.enums.FileTypeEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * Description
 * @author lgl
 * DateTime  2024/1/25 17:36
 * Modified By
 */
@Data
public class QBaseVo {
    /**
     * 广告id
     */
    @Schema(description = "广告id")
    @NotEmpty(message = "广告不能为空")
    private String adId;
    /**
     * 排序
     */
    @Schema(description = "排序")
    @NotNull(message = "排序不能为空")
    private Integer sort;
    /**
     * 图片地址
     */
    @Schema(description = "图片地址")
    @NotEmpty(message = "图片不能为空")
    private String fileUrl;
    /**
     * 连接url
     */
    @Schema(description = "连接url")
    @NotEmpty(message = "连接url不能为空")
    private String url;
    /**
     * 描述
     */
    @Schema(description = "描述")
    private String describes;
}
